Release 10.1A: OpenEdge Development:
.NET Open Clients
Passing INTPUT-OUTPUT parameters
Passing an
INPUT-OUTPUTparameter requires several steps to provide a value as input to an application service procedure or user-defined function, then to return a value as output using the same parameter.
![]()
To pass an
INPUTparameter:
- Create and initialize a variable for the parameter of the correct .NET data type (see the "Creating variables for parameters" section).
- Add the parameter to a
ParamArrayobject (see the "Setting up a parameter array" section).- Run the procedure or user-defined function (see the "Running procedures and user-defined functions" section).
- Get the output value from the
ParamArray(see the "Getting OUTPUT parameter values" section). You might also want to reset the variable.Example 8–5 passes an
INPUT-OUTPUTinteger parameter that does not support the Unknown value (?):
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |